﻿using System.IO;

namespace AbpProjectTemplate
{
    /// <summary>
    /// 测试日志器
    /// </summary>
    public static class TestLogger
    {
        private static TextWriter _textWriter;

        public static void SetWriter(TextWriter textWriter) 
        {
           _textWriter = textWriter;
        }

        public static void WriteLine(string msg) 
        {
            _textWriter?.WriteLine(msg);
        }
    }
}
